package com.qf.mapper;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    List<User> selectByUserNameOrPhoneOrEmail(@Param("username") String username, @Param("phone") String phone, @Param("email") String email);

     void addUser(User user);

     User selectUserByUserName(String username);

     void upDateUser(User user);

     void upDateUserLogin(User user);

}
